<template>
	<view class="container">
		<!-- 选择医师 -->
		<view class="top-search">
			<u-search :showAction="false" height="70rpx" bgColor="#F8F8F8" searchIconSize="40" placeholder="请输入搜索内容"
				v-model="keyword"></u-search>
		</view>
		<view class="make-box">
			<view v-for="(doctor, index) in doctors" :key="index" class="make">
				<view class="make-img">
					<image src="../../static/logo.png" mode=""></image>
				</view>
				<view class="make-info">
					<view class="name">
						{{ doctor.name }}
						<view class="_text">{{ doctor.degree }}</view>
					</view>
					<view class="make-info-text">
						{{ doctor.specialties }}
					</view>
				</view>
				<view class="radio">
					<u-radio-group v-model="value">
						<u-radio  iconSize="30" size="40" activeColor="#C19C55"></u-radio>
					</u-radio-group>
				</view>
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				keyword: '',
				doctors: [{
						id: 1,
						image: '../../static/logo.png',
						name: '沈正华',
						degree: '主任医师',
						specialties: '擅长：按摩、正骨推拿、脊柱侧弯'
					},
					{
						id: 2,
						image: '../../static/logo.png',
						name: '孙老师',
						degree: '主任医师',
						specialties: '擅长：按摩、正骨推拿、脊柱侧弯'
					},
					{
						id: 3,
						image: '../../static/logo.png',
						name: '鲍老师',
						degree: '主任医师',
						specialties: '擅长：按摩、正骨推拿、脊柱侧弯'
					},
					{
						id: 4,
						image: '../../static/logo.png',
						name: '廖中伟',
						degree: '主任医师',
						specialties: '擅长：按摩、正骨推拿、脊柱侧弯'
					}
				],
			};
		},
	};
</script>

<style lang="less" scoped>
	.container {
		background-color: #F6F6F6;

		.top-search {
			background: #FFFFFF;
			height: 114rpx;
			line-height: 114rpx;
			padding: 0 23rpx;
		}

		.make-box {
			padding: 0 22rpx 0 26rpx;
			margin-top: 16rpx;
			background: #FFFFFF;

			.make {
				display: flex;
				height: 194rpx;
				border-bottom: 2rpx solid #F4F4F6;
				position: relative;

				.make-img {
					width: 146rpx;
					height: 146rpx;
					border-radius: 14rpx;
					margin-top: 24rpx;

					image {
						width: 146rpx;
						height: 146rpx;
						border-radius: 14rpx;
					}
				}

				.make-info {
					.name {
						height: 28rpx;
						font-family: SourceHanSansCN, SourceHanSansCN;
						font-weight: 500;
						font-size: 28rpx;
						color: #202022;
						text-align: left;
						font-style: normal;
						margin-left: 26rpx;
						margin-top: 50rpx;
						display: flex;

						._text {
							width: 98rpx;
							height: 28rpx;
							background: #FEF8F0;
							border-radius: 14rpx 0rpx 14rpx 0rpx;
							font-size: 18rpx;
							color: #C5A15E;
							text-align: center;
							line-height: 28rpx;
							margin-top: 4rpx;
							margin-left: 16rpx;
						}
					}

					.make-info-text {
						margin-left: 26rpx;
						margin-top: 20rpx;
						height: 34rpx;
						font-family: PingFangSC, PingFang SC;
						font-weight: 500;
						font-size: 24rpx;
						color: #70726F;
						line-height: 34rpx;
						text-align: left;
						font-style: normal;
					}
				}

				.radio {
					position: absolute;
					bottom: 76rpx;
					right: 12rpx;
				}
			}
		}
	}
</style>